export default {
	data() {
		return {
			swiperHeight: 0,
		}
	},
	onReady() {
		let that = this;
		uni.getSystemInfo({
			success: function(res) {
				const safeAreaBottom = res.screenHeight - res.safeArea.bottom
				uni.createSelectorQuery().select(".my-list")
					.boundingClientRect(function(data) {
						that.swiperHeight = (res.windowHeight - data.top)
					}).exec();
			}
		});
	},
}